(function() { var m=!0,n=null,r=!1;function B(){return function(){}} (function(){function V(a){function b(){try{a.F=a.F||{},a.F.$__c=(a.F.$__c||0)+1,c.cookie.set("mp_"+d+"__c",a.F.$__c,1,m)}catch(b){k.error(b)}}var d=a.c("name");a.F=a.F||{};a.F.$__c=parseInt(c.cookie.get("mp_"+d+"__c"))||0;c.o(document,"submit",b);c.o(document,"change",b);var e=n;c.o(document,"mousedown",function(a){e=a.target});c.o(document,"mouseup",function(a){a.target===e&&b()})}function W(){function a(){if(!a.$c)Q=a.$c=m,R=r,c.a(y,function(a){a.pc()})}function b(){try{document.documentElement.doScroll("left")}catch(d){setTimeout(b, 1);return}a()}if(document.addEventListener)"complete"===document.readyState?a():document.addEventListener("DOMContentLoaded",a,r);else if(document.attachEvent){document.attachEvent("onreadystatechange",a);var d=r;try{d=window.frameElement===n}catch(e){}document.documentElement.doScroll&&d&&b()}c.o(window,"load",a,m)}function X(){s.init=function(a,b,d){if(d)return s[d]||(s[d]=y[d]=H(a,b,d),s[d].sa()),s[d];d=s;if(y.mixpanel)d=y.mixpanel;else if(a)d=H(a,b,"mixpanel"),d.sa(),y.mixpanel=d;s=d;1===L&&(window.mixpanel= s);Y()}}function Y(){c.a(y,function(a,b){"mixpanel"!==b&&(s[b]=a)});s._=c}function H(a,b,d){var e,g="mixpanel"===d?s:s[d];if(g&&0===L)e=g;else{if(g&&!c.isArray(g)){k.error("You have already initialized "+d);return}e=new h}e.Na(a,b,d);e.people=new p;e.people.Na(e);z=z||e.c("debug");e.__autotrack_enabled=e.c("autotrack");if(e.c("autotrack")){C.ad(e.c("token"),100,100)?C.fd()?C.U(e):(e.__autotrack_enabled=r,k.log("Disabling Automatic Event Collection because this browser is not supported")):(e.__autotrack_enabled= r,k.log("Not in active bucket: disabling Automatic Event Collection."));try{V(e)}catch(j){k.error(j)}}!c.d(g)&&c.isArray(g)&&(e.Ka.call(e.people,g.people),e.Ka(g));return e}function p(){}function h(){}function o(a){this.props={};this.Fb=r;this.name=a.persistence_name?"mp_"+a.persistence_name:"mp_"+a.token+"_mixpanel";var b=a.persistence;if("cookie"!==b&&"localStorage"!==b)k.ca("Unknown persistence type "+b+"; falling back to cookie"),b=a.persistence="cookie";if(b="localStorage"===b){b=m;try{c.localStorage.set("__mplssupport__", "xyz"),"xyz"!==c.localStorage.get("__mplssupport__")&&(b=r),c.localStorage.remove("__mplssupport__")}catch(d){b=r}b||k.error("localStorage unsupported; falling back to cookie store")}this.w=b?c.localStorage:c.cookie;this.load();this.dc(a);this.Gd(a);this.save()}function I(){this.Ub="submit"}function D(){this.Ub="click"}function x(){}var z=r,w;w="undefined"===typeof window?{navigator:{}}:window;var M=Array.prototype,S=Object.prototype,E=M.slice,G=S.toString,J=S.hasOwnProperty,u=w.console,F=w.navigator, v=w.document,t=F.userAgent,N=Function.prototype.bind,T=M.forEach,U=M.indexOf;w=Array.isArray;var O={},c={trim:function(a){return a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},k={log:function(){if(z&&!c.d(u)&&u)try{u.log.apply(u,arguments)}catch(a){c.a(arguments,function(a){u.log(a)})}},error:function(){if(z&&!c.d(u)&&u){var a=["Mixpanel error:"].concat(c.ja(arguments));try{u.error.apply(u,a)}catch(b){c.a(a,function(a){u.error(a)})}}},ca:function(){if(!c.d(u)&&u){var a=["Mixpanel error:"].concat(c.ja(arguments)); try{u.error.apply(u,a)}catch(b){c.a(a,function(a){u.error(a)})}}}};c.bind=function(a,b){var d,e;if(N&&a.bind===N)return N.apply(a,E.call(arguments,1));if(!c.bb(a))throw new TypeError;d=E.call(arguments,2);return e=function(){if(!(this instanceof e))return a.apply(b,d.concat(E.call(arguments)));var c={};c.prototype=a.prototype;var j=new c;c.prototype=n;c=a.apply(j,d.concat(E.call(arguments)));return Object(c)===c?c:j}};c.Db=function(a){for(var b in a)"function"===typeof a[b]&&(a[b]=c.bind(a[b],a))}; c.a=function(a,b,d){if(!(a===n||void 0===a))if(T&&a.forEach===T)a.forEach(b,d);else if(a.length===+a.length)for(var c=0,g=a.length;c/g,">").replace(/"/g,""").replace(/'/g,"'"));return a};c.extend=function(a){c.a(E.call(arguments,1),function(b){for(var d in b)void 0!==b[d]&&(a[d]=b[d])});return a}; c.isArray=w||function(a){return"[object Array]"===G.call(a)};c.bb=function(a){try{return/^\s*\bfunction\b/.test(a)}catch(b){return r}};c.ed=function(a){return!(!a||!J.call(a,"callee"))};c.ja=function(a){return!a?[]:a.ja?a.ja():c.isArray(a)||c.ed(a)?E.call(a):c.Id(a)};c.Id=function(a){var b=[];if(a===n)return b;c.a(a,function(a){b[b.length]=a});return b};c.Od=function(a){return a};c.Mb=function(a,b){var d=r;if(a===n)return d;if(U&&a.indexOf===U)return-1!=a.indexOf(b);c.a(a,function(a){if(d||(d=a=== b))return O});return d};c.g=function(a,b){return-1!==a.indexOf(b)};c.Ob=function(a,b){a.prototype=new b;a.Ad=b.prototype};c.j=function(a){return a===Object(a)&&!c.isArray(a)};c.V=function(a){if(c.j(a)){for(var b in a)if(J.call(a,b))return r;return m}return r};c.d=function(a){return void 0===a};c.cb=function(a){return"[object String]"==G.call(a)};c.gd=function(a){return"[object Date]"==G.call(a)};c.jd=function(a){return"[object Number]"==G.call(a)};c.hd=function(a){return!!(a&&1===a.nodeType)};c.Jb= function(a){c.a(a,function(b,d){c.gd(b)?a[d]=c.bd(b):c.j(b)&&(a[d]=c.Jb(b))});return a};c.timestamp=function(){Date.now=Date.now||function(){return+new Date};return Date.now()};c.bd=function(a){function b(a){return 10>a?"0"+a:a}return a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate())+"T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())};c.l=function(a){return function(){try{return a.apply(this,arguments)}catch(b){k.ca("Implementation error. Please contact support@mixpanel.com.")}}}; c.pd=function(a){for(var b=["identify","_check_and_handle_notifications","_show_notification"],d=0;d=i;)g()}function d(){var a,b,d="",c;if('"'===i)for(;g();){if('"'===i)return g(),d;if("\\"===i)if(g(),"u"===i){for(b=c=0;4>b;b+=1){a=parseInt(g(),16);if(!isFinite(a))break;c=16*c+a}d+=String.fromCharCode(c)}else if("string"=== typeof f[i])d+=f[i];else break;else d+=i}j("Bad string")}function c(){var a;a="";"-"===i&&(a="-",g("-"));for(;"0"<=i&&"9">=i;)a+=i,g();if("."===i)for(a+=".";g()&&"0"<=i&&"9">=i;)a+=i;if("e"===i||"E"===i){a+=i;g();if("-"===i||"+"===i)a+=i,g();for(;"0"<=i&&"9">=i;)a+=i,g()}a=+a;if(isFinite(a))return a;j("Bad number")}function g(a){a&&a!==i&&j("Expected '"+a+"' instead of '"+i+"'");i=h.charAt(l);l+=1;return i}function j(a){throw{name:"SyntaxError",message:a,Md:l,text:h};}var l,i,f={'"':'"',"\\":"\\", "/":"/",b:"\u0008",f:"\u000c",n:"\n",r:"\r",t:"\t"},h,q;q=function(){b();switch(i){case "{":var l;a:{var f,h={};if("{"===i){g("{");b();if("}"===i){g("}");l=h;break a}for(;i;){f=d();b();g(":");Object.hasOwnProperty.call(h,f)&&j('Duplicate key "'+f+'"');h[f]=q();b();if("}"===i){g("}");l=h;break a}g(",");b()}}j("Bad object")}return l;case "[":a:{l=[];if("["===i){g("[");b();if("]"===i){g("]");f=l;break a}for(;i;){l.push(q());b();if("]"===i){g("]");f=l;break a}g(",");b()}}j("Bad array")}return f;case '"':return d(); case "-":return c();default:return"0"<=i&&"9">=i?c():a()}};return function(a){h=a;l=0;i=" ";a=q();b();i&&j("Syntax error");return a}}();c.Bb=function(a){var b,d,e,g,j=0,l=0,i="",i=[];if(!a)return a;a=c.Hd(a);do b=a.charCodeAt(j++),d=a.charCodeAt(j++),e=a.charCodeAt(j++),g=b<<16|d<<8|e,b=g>>18&63,d=g>>12&63,e=g>>6&63,g&=63,i[l++]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(b)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(d)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(e)+ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g);while(jl?c++:i=127l?String.fromCharCode(l>>6|192,l&63|128):String.fromCharCode(l>>12|224,l>>6&63|128,l&63|128);i!==n&&(c>d&&(b+=a.substring(d,c)),b+= i,d=c=j+1)}c>d&&(b+=a.substring(d,a.length));return b};c.kb=function(){function a(){function a(b,c){var d,e=0;for(d=0;db&&a.textContent){var d=c.trim(a.textContent);d&&(f=d.replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}d=this.qa(a).split(" ");c.g(d,"mp-no-track")&&(h=m);g.push(this.yc(a))},this);if(h)return r;e=c.extend(this.qb(a.type),{$elements:g,$el_attr__href:j,$el_text:f},this.uc(e));i&&("submit"===a.type||"click"===a.type)&&c.extend(e,this.wc(i));b.J("$web_event", e);return m}},Ld:function(a){window.location.href=a},nc:function(a){var b=c.bind(function(b){c.cookie.parse("__mpced")!==m&&(b=b||window.event,this.Mc(b,a))},this);c.o(document,"submit",b,r,m);c.o(document,"change",b,r,m);c.o(document,"click",b,r,m)},mb:{},U:function(a){if(!document||!document.body){console.log("document not ready yet, trying again in 500 milliseconds...");var b=this;setTimeout(function(){b.U(a)},500)}else{var d=a.c("token");if(-1b&&delete a[d];c.V(a)&&delete this.props.__cmpns}});o.prototype.Fd=function(){if(!this.Fb)this.G(c.info.Rc()),this.Fb=m};o.prototype.ec=function(a){this.ia(c.info.sd(a))};o.prototype.jb=function(a){this.G({$initial_referrer:a||"$direct",$initial_referring_domain:c.info.Vb(a)||"$direct"},"")};o.prototype.dd=function(){return c.za({$initial_referrer:this.props.$initial_referrer, $initial_referring_domain:this.props.$initial_referring_domain})};o.prototype.dc=function(a){this.Hb=this.Xa=a.cookie_expiration;this.ud(a.disable_persistence);this.td(a.cross_subdomain_cookie);this.xd(a.secure_cookie)};o.prototype.ud=function(a){(this.disabled=a)&&this.remove()};o.prototype.td=function(a){if(a!==this.Ua)this.Ua=a,this.remove(),this.save()};o.prototype.cd=function(){return this.Ua};o.prototype.xd=function(a){if(a!==this.Wb)this.Wb=a?m:r,this.remove(),this.save()};o.prototype.B=function(a, b){var d=this.La(a),e=b[a],g=this.Z("$set"),j=this.Z("$set_once"),f=this.Z("$add"),i=this.Z("$union"),h=this.Z("$append",[]);"__mps"===d?(c.extend(g,e),this.S("$add",e),this.S("$union",e)):"__mpso"===d?c.a(e,function(a,b){b in j||(j[b]=a)}):"__mpa"===d?c.a(e,function(a,b){b in g?g[b]+=a:(b in f||(f[b]=0),f[b]+=a)},this):"__mpu"===d?c.a(e,function(a,b){c.isArray(a)&&(b in i||(i[b]=[]),i[b]=i[b].concat(a))}):"__mpap"===d&&h.push(e);k.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):");k.log(b); this.save()};o.prototype.S=function(a,b){var d=this.R(a);c.d(d)||(c.a(b,function(a,b){delete d[b]},this),this.save())};o.prototype.La=function(a){if("$set"===a)return"__mps";if("$set_once"===a)return"__mpso";if("$add"===a)return"__mpa";if("$append"===a)return"__mpap";if("$union"===a)return"__mpu";k.error("Invalid queue:",a)};o.prototype.R=function(a){return this.props[this.La(a)]};o.prototype.Z=function(a,b){var d=this.La(a),b=c.d(b)?{}:b;return this.props[d]||(this.props[d]=b)};o.prototype.vd=function(a){var b= this.props.__timers||{};b[a]=(new Date).getTime();this.props.__timers=b;this.save()};o.prototype.od=function(a){var b=(this.props.__timers||{})[a];c.d(b)||(delete this.props.__timers[a],this.save());return b};var f;h.prototype.U=function(a,b,d){if(c.d(d))k.error("You must name your new library: init(token, config, name)");else if("mixpanel"===d)k.error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");else return a=H(a,b,d),s[d]=a,a.sa(),a};h.prototype.Na= function(a,b,d){this.__loaded=m;this.config={};this.Xb(c.extend({},P,b,{name:d,token:a,callback_fn:("mixpanel"===d?d:"mixpanel."+d)+"._jsc"}));this._jsc=B();this.Ia=[];this.Ja=[];this.Ha=[];this.P={disable_all_events:r,identify_called:r};this.persistence=this.cookie=new o(this.config);this.G({distinct_id:c.kb()},"")};h.prototype.sa=function(){this.c("loaded")(this);this.c("track_pageview")&&this.bc()};h.prototype.pc=function(){c.a(this.Ia,function(a){this.Qa.apply(this,a)},this);c.a(this.Ja,function(a){this.p.apply(this, a)},this);delete this.Ia;delete this.Ja};h.prototype.Qa=function(a,b){if(this.c("img"))return k.error("You can't use DOM tracking functions with img = true."),r;if(!Q)return this.Ia.push([a,b]),r;var c=(new a).U(this);return c.J.apply(c,b)};h.prototype.ta=function(a,b){if(c.d(a))return n;if(K)return function(c){a(c,b)};var d=this._jsc,e=""+Math.floor(1E8*Math.random()),g=this.c("callback_fn")+"["+e+"]";d[e]=function(c){delete d[e];a(c,b)};return g};h.prototype.p=function(a,b,d){if(R)this.Ja.push(arguments); else{var e=this.c("verbose");b.verbose&&(e=m);this.c("test")&&(b.test=1);e&&(b.verbose=1);this.c("img")&&(b.img=1);if(!K)if(d)b.callback=d;else if(e||this.c("test"))b.callback="(function(){})";b.ip=this.c("ip")?1:0;b._=(new Date).getTime().toString();a+="?"+c.jc(b);if("img"in b){var g=document.createElement("img");g.src=a;document.body.appendChild(g)}else if(K)try{var j=new XMLHttpRequest;j.open("GET",a,m);j.withCredentials=m;j.onreadystatechange=function(){if(4===j.readyState)if(-1!==a.indexOf("api.mixpanel.com/track")&& C.Sc(j),200===j.status)d&&(e?d(c.ma(j.responseText)):d(Number(j.responseText)));else{var b="Bad HTTP status: "+j.status+" "+j.statusText;k.error(b);d&&(e?d({status:0,error:b}):d(0))}};j.send(n)}catch(f){k.error(f)}else{g=document.createElement("script");g.type="text/javascript";g.async=m;g.defer=m;g.src=a;var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(g,i)}}};h.prototype.Ka=function(a){function b(a,b){c.a(a,function(a){this[a[0]].apply(this,a.slice(1))},b)}var d,e=[],g= [],j=[];c.a(a,function(a){a&&(d=a[0],"function"===typeof a?a.call(this):c.isArray(a)&&"alias"===d?e.push(a):c.isArray(a)&&-1!==d.indexOf("track")&&"function"===typeof this[d]?j.push(a):g.push(a))},this);b(e,this);b(g,this);b(j,this)};h.prototype.push=function(a){this.Ka([a])};h.prototype.disable=function(a){"undefined"===typeof a?this.P.Wc=m:this.Ha=this.Ha.concat(a)};h.prototype.J=function(a,b,d){"function"!==typeof d&&(d=B());if(c.d(a))k.error("No event name provided to mixpanel.track");else if(this.pb(a))d(0); else{b=b||{};b.token=this.c("token");var e=this.persistence.od(a);c.d(e)||(b.$duration=parseFloat((((new Date).getTime()-e)/1E3).toFixed(3)));this.persistence.ec(document.referrer);this.c("store_google")&&this.persistence.Fd();this.c("save_referrer")&&this.persistence.jb(document.referrer);b=c.extend({},c.info.ha(),this.persistence.ha(),b);try{if(this.c("autotrack")&&"mp_page_view"!==a&&"$create_alias"!==a)b=c.extend({},b,this.F),this.F={$__c:0},c.cookie.set("mp_"+this.c("name")+"__c",0,1,m)}catch(g){k.error(g)}e= this.c("property_blacklist");c.isArray(e)?c.a(e,function(a){delete b[a]}):k.error("Invalid value for property_blacklist config: "+e);a=c.truncate({event:a,properties:b},255);e=c.na(a);e=c.Bb(e);k.log("MIXPANEL REQUEST:");k.log(a);this.p(this.c("api_host")+"/track/",{data:e},this.ta(d,a));return a}};h.prototype.bc=function(a){if(c.d(a))a=document.location.href;this.J("mp_page_view",c.info.md(a))};h.prototype.Ed=function(){return this.Qa.call(this,D,arguments)};h.prototype.Dd=function(){return this.Qa.call(this, I,arguments)};h.prototype.Bd=function(a){c.d(a)?k.error("No event name provided to mixpanel.time_event"):this.pb(a)||this.persistence.vd(a)};h.prototype.ia=function(a,b){this.persistence.ia(a,b)};h.prototype.G=function(a,b,c){this.persistence.G(a,b,c)};h.prototype.Ca=function(a){this.persistence.Ca(a)};h.prototype.Pa=function(a,b){var c={};c[a]=b;this.ia(c)};h.prototype.Za=function(a,b,c,e,g,j){a!==this.T()&&a!==this.xa("__alias")&&(this.Ca("__alias"),this.Pa("distinct_id",a));this.lb(this.T());this.P.$a= m;this.people.tc(b,c,e,g,j)};h.prototype.reset=function(){this.persistence.clear();this.P.$a=r;this.G({distinct_id:c.kb()},"")};h.prototype.T=function(){return this.xa("distinct_id")};h.prototype.Oc=function(a,b){if(a===this.xa("$people_distinct_id"))return k.ca("Attempting to create alias for existing People user - aborting."),-2;var d=this;c.d(b)&&(b=this.T());if(a!==b)return this.Pa("__alias",a),this.J("$create_alias",{alias:a,distinct_id:b},function(){d.Za(a)});k.error("alias matches current distinct_id - skipping api call."); this.Za(a);return-1};h.prototype.kd=function(a){this.Pa("mp_name_tag",a)};h.prototype.Xb=function(a){if(c.j(a))c.extend(this.config,a),this.c("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.c("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.dc(this.config),z=z||this.c("debug")};h.prototype.c=function(a){return this.config[a]};h.prototype.xa=function(a){return this.persistence.props[a]};h.prototype.toString= function(){var a=this.c("name");"mixpanel"!==a&&(a="mixpanel."+a);return a};h.prototype.pb=function(a){return c.Pb(t)||this.P.Wc||c.Mb(this.Ha,a)};h.prototype.lb=function(a){if(a&&!this.P.$a&&!this.c("disable_notifications")){k.log("MIXPANEL NOTIFICATION CHECK");var b=this;this.p(this.c("decide_host")+"/decide/",{verbose:m,version:"1",lib:"web",token:this.c("token"),distinct_id:a},this.ta(function(a){a.notifications&&0");this.Uc= c.u(a.cta)||"Close";this.da=c.u(a.cta_url)||n;this.ab=c.u(a.image_url)||n;this.fa=c.u(a.type)||"takeover";this.style=c.u(a.style)||"light";this.L=c.u(a.thumb_image_url)||n;this.title=c.u(a.title)||"";this.Da=c.u(a.video_url)||n;this.ka=f.lc;this.X=f.kc;this.va=m;if(!this.da)this.da="#dismiss",this.va=r;this.v="mini"===this.fa;if(!this.v)this.fa="takeover";this.ld=!this.v?f.Y:f.Ea;this.yb();this.ya=this.Ac();this.Dc()};f=h.mc;f.M=200;f.z="mixpanel-notification";f.la=0.6;f.I=25;f.oa=200;f.Y=388;f.Ea= 420;f.A=85;f.Fa=5;f.K=60;f.Ga=Math.round(f.K/2);f.lc=595;f.kc=334;f.prototype.show=function(){var a=this;this.yb();this.q?(this.Cc(),this.Bc(),this.Hc(this.oc)):setTimeout(function(){a.show()},300)};f.prototype.Va=c.l(function(){this.Qb||this.wb({invisible:m});var a=this.yd?this.i("video"):this.Q();if(this.fc)this.Jc("bg","visible"),this.N(a,"exiting"),setTimeout(this.xb,f.M);else{var b,c,e;this.v?(b="right",c=20,e=-100):(b="top",c=f.I,e=f.oa+f.I);this.pa([{s:this.i("bg"),m:"opacity",start:f.la,k:0}, {s:a,m:"opacity",start:1,k:0},{s:a,m:b,start:c,k:e}],f.M,this.xb)}});f.prototype.N=c.l(function(a,b){b=f.z+"-"+b;"string"===typeof a&&(a=this.i(a));a.className?~(" "+a.className+" ").indexOf(" "+b+" ")||(a.className+=" "+b):a.className=b});f.prototype.Jc=c.l(function(a,b){b=f.z+"-"+b;"string"===typeof a&&(a=this.i(a));if(a.className)a.className=(" "+a.className+" ").replace(" "+b+" ","").replace(/^[\s\xA0]+/,"").replace(/[\s\xA0]+$/,"")});f.prototype.pa=c.l(function(a,b,c,e){var g=this,f=r,h,i;h= 1*new Date;var k,e=e||h;k=h-e;for(h=0;h=i.start?1:-1;i.H=i.start+(i.k-i.start)*k/b;if("opacity"!==i.m)i.H=Math.round(i.H);if(0=i.k||0>o&&i.H<=i.k)i.H=i.k}}if(f){for(h=0;h'):this.Lb="",this.L?(a.push(this.L),this.$b='
'):this.$b="");return a};f.prototype.Bc=function(){var a="",b="",c="";this.ga=document.createElement("div");this.ga.id=f.z+"-wrapper";if(this.v)a='
'+ this.body+'
';else{var a=this.va||this.W?"":'
',e=this.W?'
':"";this.O("ie",7)&&(e=a="");a='
'+this.$b+'
'+this.Lb+'
'+this.title+'
'+this.body+'
'+ a+''+this.Uc+""+e+"
"}this.hc?(b="//www.youtube.com/embed/"+this.hc+"?wmode=transparent&showinfo=0&modestbranding=0&rel=0&autoplay=1&loop=0&vq=hd1080",this.ic&&(b+="&enablejsapi=1&html5=1&controls=0",c='
')): this.gc&&(b="//player.vimeo.com/video/"+this.gc+"?autoplay=1&title=0&byline=0&portrait=0");if(this.W)this.Jd='',c='
'+c+"
";b=c+a;this.Ya&&(b=(this.v?a:"")+'
'+(this.v?c:b)+"
"); this.ga.innerHTML=('
'+b+"
").replace(/class=\"/g,'class="'+f.z+"-").replace(/id=\"/g,'id="'+f.z+"-")};f.prototype.Cc=function(){this.h="dark"===this.style?{Ta:"#1d1f25",aa:"#282b32",ua:"#3a4147",Cb:"#4a5157",Pc:"#32353c",Gb:"0.4",eb:"#2a3137",Ba:"#fff",ib:"#9498a3",Zb:"#464851",Aa:"#ddd"}:{Ta:"#fff",aa:"#e7eaee",ua:"#eceff3",Cb:"#f5f5f5",Pc:"#e4ecf2",Gb:"1.0",eb:"#fafafa", Ba:"#5c6578",ib:"#8b949b",Zb:"#ced9e6",Aa:"#7c8598"};var a="0px 0px 35px 0px rgba(45, 49, 56, 0.7)",b=a,d=a,e=f.K+2*f.Fa,g=f.M/1E3+"s";this.v&&(a="none");var j={};j["@media only screen and (max-width: "+(f.Ea+20-1)+"px)"]={"#overlay":{display:"none"}};a={".flipped":{transform:"rotateY(180deg)"},"#overlay":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%",overflow:"auto","text-align":"center","z-index":"10000","font-family":'"Helvetica", "Arial", sans-serif',"-webkit-font-smoothing":"antialiased", "-moz-osx-font-smoothing":"grayscale"},"#overlay.mini":{height:"0",overflow:"visible"},"#overlay a":{width:"initial",padding:"0","text-decoration":"none","text-transform":"none",color:"inherit"},"#bgwrapper":{position:"relative",width:"100%",height:"100%"},"#bg":{position:"fixed",top:"0",left:"0",width:"100%",height:"100%","min-width":4*this.Yc+"px","min-height":4*this.Xc+"px","background-color":"black",opacity:"0.0","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)",filter:"alpha(opacity=60)", transition:"opacity "+g},"#bg.visible":{opacity:f.la},".mini #bg":{width:"0",height:"0","min-width":"0"},"#flipcontainer":{perspective:"1000px",position:"absolute",width:"100%"},"#flipper":{position:"relative","transform-style":"preserve-3d",transition:"0.3s"},"#takeover":{position:"absolute",left:"50%",width:f.Y+"px","margin-left":Math.round(-f.Y/2)+"px","backface-visibility":"hidden",transform:"rotateY(0deg)",opacity:"0.0",top:f.oa+"px",transition:"opacity "+g+", top "+g},"#takeover.visible":{opacity:"1.0", top:f.I+"px"},"#takeover.exiting":{opacity:"0.0",top:f.oa+"px"},"#thumbspacer":{height:f.Ga+"px"},"#thumbborder-wrapper":{position:"absolute",top:-f.Fa+"px",left:f.Y/2-f.Ga-f.Fa+"px",width:e+"px",height:e/2+"px",overflow:"hidden"},"#thumbborder":{position:"absolute",width:e+"px",height:e+"px","border-radius":e+"px","background-color":this.h.aa,opacity:"0.5"},"#thumbnail":{position:"absolute",top:"0px",left:f.Y/2-f.Ga+"px",width:f.K+"px",height:f.K+"px",overflow:"hidden","z-index":"100","border-radius":f.K+ "px"},"#mini":{position:"absolute",right:"20px",top:f.I+"px",width:this.ld+"px",height:2*f.A+"px","margin-top":20-f.A+"px","backface-visibility":"hidden",opacity:"0.0",transform:"rotateX(90deg)",transition:"opacity 0.3s, transform 0.3s, right 0.3s"},"#mini.visible":{opacity:"1.0",transform:"rotateX(0deg)"},"#mini.exiting":{opacity:"0.0",right:"-150px"},"#mainbox":{"border-radius":"4px","box-shadow":a,"text-align":"center","background-color":this.h.Ta,"font-size":"14px",color:this.h.ib},"#mini #mainbox":{height:f.A+ "px","margin-top":f.A+"px","border-radius":"3px",transition:"background-color "+g},"#mini-border":{height:f.A+6+"px",width:f.Ea+6+"px",position:"absolute",top:"-3px",left:"-3px","margin-top":f.A+"px","border-radius":"6px",opacity:"0.25","background-color":"#fff","z-index":"-1","box-shadow":d},"#mini-icon":{position:"relative",display:"inline-block",width:"75px",height:f.A+"px","border-radius":"3px 0 0 3px","background-color":this.h.aa,background:"linear-gradient(135deg, "+this.h.Cb+" 0%, "+this.h.aa+ " 100%)",transition:"background-color "+g},"#mini:hover #mini-icon":{"background-color":this.h.eb},"#mini:hover #mainbox":{"background-color":this.h.eb},"#mini-icon-img":{position:"absolute","background-image":"url("+this.L+")",width:"48px",height:"48px",top:"20px",left:"12px"},"#content":{padding:"30px 20px 0px 20px"},"#mini-content":{"text-align":"left",height:f.A+"px",cursor:"pointer"},"#img":{width:"328px","margin-top":"30px","border-radius":"5px"},"#title":{"max-height":"600px",overflow:"hidden", "word-wrap":"break-word",padding:"25px 0px 20px 0px","font-size":"19px","font-weight":"bold",color:this.h.Ba},"#body":{"max-height":"600px","margin-bottom":"25px",overflow:"hidden","word-wrap":"break-word","line-height":"21px","font-size":"15px","font-weight":"normal","text-align":"left"},"#mini #body":{display:"inline-block","max-width":"250px",margin:"0 0 0 30px",height:f.A+"px","font-size":"16px","letter-spacing":"0.8px",color:this.h.Ba},"#mini #body-text":{display:"table",height:f.A+"px"},"#mini #body-text div":{display:"table-cell", "vertical-align":"middle"},"#tagline":{"margin-bottom":"15px","font-size":"10px","font-weight":"600","letter-spacing":"0.8px",color:"#ccd7e0","text-align":"left"},"#tagline a":{color:this.h.Zb,transition:"color "+g},"#tagline a:hover":{color:this.h.Aa},"#cancel":{position:"absolute",right:"0",width:"8px",height:"8px",padding:"10px","border-radius":"20px",margin:"12px 12px 0 0","box-sizing":"content-box",cursor:"pointer",transition:"background-color "+g},"#mini #cancel":{margin:"7px 7px 0 0"},"#cancel-icon":{width:"8px", height:"8px",overflow:"hidden","background-image":"url(//cdn.mxpnl.com/site_media/images/icons/notifications/cancel-x.png)",opacity:this.h.Gb},"#cancel:hover":{"background-color":this.h.ua},"#button":{display:"block",height:"60px","line-height":"60px","text-align":"center","background-color":this.h.aa,"border-radius":"0 0 4px 4px",overflow:"hidden",cursor:"pointer",transition:"background-color "+g},"#button-close":{display:"inline-block",width:"9px",height:"60px","margin-right":"8px","vertical-align":"top", "background-image":"url(//cdn.mxpnl.com/site_media/images/icons/notifications/close-x-"+this.style+".png)","background-repeat":"no-repeat","background-position":"0px 25px"},"#button-play":{display:"inline-block",width:"30px",height:"60px","margin-left":"15px","background-image":"url(//cdn.mxpnl.com/site_media/images/icons/notifications/play-"+this.style+"-small.png)","background-repeat":"no-repeat","background-position":"0px 15px"},"a#button-link":{display:"inline-block","vertical-align":"top","text-align":"center", "font-size":"17px","font-weight":"bold",overflow:"hidden","word-wrap":"break-word",color:this.h.Ba,transition:"color "+g},"#button:hover":{"background-color":this.h.ua,color:this.h.Aa},"#button:hover a":{color:this.h.Aa},"#video-noflip":{position:"relative",top:2*-this.X+"px"},"#video-flip":{"backface-visibility":"hidden",transform:"rotateY(180deg)"},"#video":{position:"absolute",width:this.ka-1+"px",height:this.X+"px",top:f.I+"px","margin-top":"100px",left:"50%","margin-left":Math.round(-this.ka/ 2)+"px",overflow:"hidden","border-radius":"5px","box-shadow":b,transform:"translateZ(1px)",transition:"opacity "+g+", top "+g},"#video.exiting":{opacity:"0.0",top:this.X+"px"},"#video-holder":{position:"absolute",width:this.ka-1+"px",height:this.X+"px",overflow:"hidden","border-radius":"5px"},"#video-frame":{"margin-left":"-1px",width:this.ka+"px"},"#video-controls":{opacity:"0",transition:"opacity 0.5s"},"#video:hover #video-controls":{opacity:"1.0"},"#video .video-progress-el":{position:"absolute", bottom:"0",height:"25px","border-radius":"0 0 0 5px"},"#video-progress":{width:"90%"},"#video-progress-total":{width:"100%","background-color":this.h.Ta,opacity:"0.7"},"#video-elapsed":{width:"0","background-color":"#6cb6f5",opacity:"0.9"},"#video #video-time":{width:"10%",right:"0","font-size":"11px","line-height":"25px",color:this.h.ib,"background-color":"#666","border-radius":"0 0 5px 0"}};this.O("ie",8)&&c.extend(a,{"* html #overlay":{position:"absolute"},"* html #bg":{position:"absolute"},"html, body":{height:"100%"}}); this.O("ie",7)&&c.extend(a,{"#mini #body":{display:"inline",zoom:"1",border:"1px solid "+this.h.ua},"#mini #body-text":{padding:"20px"},"#mini #mini-icon":{display:"none"}});var b="backface-visibility,border-radius,box-shadow,opacity,perspective,transform,transform-style,transition".split(","),d=["khtml","moz","ms","o","webkit"],h;for(h in a)for(e=0;e(s.__SV||0)?k.ca("Version mismatch; please ensure you're using the latest version of the Mixpanel code snippet."):(c.a(s._i,function(a){a&&c.isArray(a)&&(y[a[a.length-1]]=H.apply(this,a))}),X(),s.init(),c.a(y,function(a){a.sa()}),W())})()})(); })();